from applications.extensions import ma
from marshmallow import fields


# 用户models的序列化类
from applications.models import Dept


class TimetableOutSchema(ma.Schema):
    weekday = fields.Str()
    day = fields.Date()
    mor_exercise = fields.Str()
    morning_1 = fields.Str()
    morning_2 = fields.Str()
    afternoon_1 = fields.Str()
    afternoon_2 = fields.Str()
    evening_exercise = fields.Str()
    charger = fields.Str()